package domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    private Integer code;//状态码
    private String msg;//提示信息
    private Object obj;//数据

    public Result(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}